// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  border-radius: 15px;
  .el-dialog__body {
    padding: 20px;
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
// 重写ui
.el-button{
  border-radius: 5px;
  height: 35px;
}
.el-button--primary {
  border-radius: 5px;
  background-color: rgba(0, 119, 255, 0.94);
  border-color: rgba(0, 119, 255, 0.94);
  box-shadow: 0px 6px 12px rgba(63, 140, 255, 0.26);
  &:hover {
    background-color: rgba(0, 119, 255, 0.94);
    border-color: rgba(0, 119, 255, 0.94);
    box-shadow: 0px 6px 12px rgba(63, 140, 255, 0.42);
  }
  &:active,
  &:focus {
    background-color: rgba(31, 109, 224, 1);
    border-color: rgba(31, 109, 224, 1);
    box-shadow: 0px 6px 12px rgba(63, 140, 255, 0.42);
  }
}

.el-button--danger {
  border-radius: 5px;
  color: #fff !important;
  background-color: rgba(212, 48, 48, 1);
  border-color: rgba(212, 48, 48, 1);
  // box-shadow: 0px 6px 12px rgba(63, 140, 255, 0.26);
  &:hover {
    background-color: rgba(212, 48, 48, 1);
    border-color: rgba(212, 48, 48, 1);
    // box-shadow: 0px 6px 12px rgba(63, 140, 255, 0.42);
  }
  &:active,
  &:focus {
    background-color: rgba(212, 48, 48, 1);
    border-color: rgba(212, 48, 48, 1);
    // box-shadow: 0px 6px 12px rgba(63, 140, 255, 0.42);
  }
}
.el-input{
  height: 35px;
}
.el-input__inner {
  height: 100%;
  border-radius: 5px;
  box-shadow: 0px 1px 2px rgba(184, 200, 224, 0.22);
  color: rgba(125, 133, 146, 1);
  background: rgba(204, 204, 204, 0.2);
  border: 0.3px solid rgba(0, 0, 0, 0.33);
  &:active,
  &:focus {
    color: rgba(10, 22, 41, 1);
  }
}
.like-btn{
  .el-input__inner{
    border-radius: 5px;
    border-color: #DCDFE6;
  }
}
.white {
  .el-input__inner {
    background: #fff;
  }
}
.transparent{
  .el-input__inner {
    background: transparent;
  }
}

.el-checkbox__input.is-checked + .el-checkbox__label {
  color: rgba(128, 128, 128, 1);
}
.el-divider__text {
  color: rgba(128, 128, 128, 1);
  font-size: 14px;
}
.el-button {
  padding: 0 0.12rem;
  color: rgba(0, 0, 0, 1);
  border-radius: 5px;
  font-size: 14px;
  font-weight: normal;
  span {
    font-size: 14px;
    font-weight: normal;
  }
}
.el-button.el-button--mini {
  font-size: 14px;
  font-weight: 400;
}
.el-button.el-button--small {
  font-size: 14px;
}
.el-button.el-button--primary {
  color: #fff;
}
.el-button.el-button--default {
  span {
    // color: #000 !important;
  }
}
.el-dialog__headerbtn .el-dialog__close {
  font-size: 24px;
}
.el-input-group__append {
  background-color: transparent;
  padding: 0;
}

.dark .el-button {
  padding: 4px 12px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(0, 0, 0, 1) !important;
  border-radius: 5px !important;
  span {
    color: #fff !important;
  }
  &:hover {
    color: #fff !important;
  }
}
.dark .el-button.el-button--primary {
  color: #fff !important;
}
.el-popover {
  min-width: 50px;
}
.el-form--label-top .el-form-item__label {
  padding-bottom: 0;
}
.el-form-item__label {
  font-size: 14px;
}
.el-input-group__prepend {
  border: 1px solid rgba(166, 166, 166, 1);
  background-color: #fff;
  color: #000;
  border-radius: 15px;
  border-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.el-range-input {
  background-color: transparent;
  background: transparent;
}
.el-date-editor--daterange.el-input__inner {
  width: fit-content;
  min-width: 300px;
}
.el-pagination button,
.el-pager li {
  background-color: rgba(204, 204, 204, 0.2) !important;
  border: 0.3px solid rgba(0, 0, 0, 0.13);
}
.el-drawer__header {
  color: #000;
  font-size: 20px;
}
.border {
  .is-active .el-radio-button__inner {
    border: 1px solid #409eff !important;
  }
}
.el-date-editor--daterange.el-input__inner.white {
  background-color: #fff !important;
}
.el-date-editor--daterange.el-input__inner.transparent {
  background-color: transparent !important;
}
.transparent {
  .el-textarea__inner {
    background-color: transparent;
    border: none;
  }
}
.el-input-group,
.el-input-group__prepend,
.el-input-group__append {
}
.el-input-group input {
  height: 100%;
}
.el-button.el-button--default span {
  color: inherit ;
}
.el-scrollbar__bar.is-vertical {
  width: 0;
}
.el-dialog__title{
  font-size: 20px;
}
.el-dialog__wrapper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .el-dialog{
    margin-top: 0 !important;
  }
}
.el-message-box{
  border-radius: 15px !important;
  .el-message-box__title{
    font-size: 20px;
  }

}
.el-input__icon{
  line-height: 35px;
}
.table-box {
  // padding-bottom: 20px;
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  .progress-box {
    margin-top: 5px;
    width: 100%;
  }
}
.el-table tr,.el-table th.el-table__cell,.el-table, .el-table__expanded-cell{
  background-color: transparent;
}
.el-button.transparent{
  background: transparent;
}
.el-textarea{
  border: 0.3px solid rgba(0, 0, 0, 0.33);
  border-radius: 5px;
}
.el-pagination.is-background .el-pager li:not(.disabled).active{
  color: #409EFF !important;
}
.el-pagination.is-background{
  background-color: transparent !important;
  background: transparent !important;
  .el-pager li{
    background-color: transparent !important;
    background: transparent !important;
  }
  .btn-next, .btn-prev{
    background-color: transparent !important;
    background: transparent !important;
  }
}